package com.foreknow.service;

import com.foreknow.entity.Department;

import java.util.List;

public interface Disease {
    /**
     * 分页查询
     */
    List<com.foreknow.entity.Disease> findUsers(String param);
    /**
     * 通过ID急病
     */
    com.foreknow.entity.Disease findById(int id);
    /**
     * 根据id删除
     */
    int deleteById(int id);
    /**
     * 批量删除
     */
   int delectByids(List<Integer> ids);
    /**
     * 修改疾病
     */
    int updateById(com.foreknow.entity.Disease disease);
    /**
     * 增加疾病
     */
    int insertDisease(com.foreknow.entity.Disease disease);

    /**
     * 高级搜索
     * 根据Diesase搜索disease
     * @param disease
     * @return
     */
    List<com.foreknow.entity.Disease> hightSerchDisease(com.foreknow.entity.Disease disease);
}
